package com.ewanghuiju.app.util;

import android.view.View;

import com.google.android.material.snackbar.Snackbar;

/**
 * @author sj  qq:751943509
 * @class describe
 * @time 2020/2/10
 */
public class SnackbarUtil {

    public static void show(View view, String msg) {
        Snackbar.make(view, msg, Snackbar.LENGTH_LONG).show();
    }

    public static void showShort(View view, String msg) {
        Snackbar.make(view, msg, Snackbar.LENGTH_SHORT).show();
    }
}
